package code;
import java.util.ArrayList;
import code.IOperatorDAO.DALException;

public interface IUI {

	public String 	getLogin(); // Returns operatorID and password seperatede by '.'
	public int		printMenu(ArrayList<String> options, String username); // Method for printing options list and return chosen option
	public String 	receiveWeight() throws DALException; // Returns brutto and tara values seperated by '&'
	public String	createOperatorDialog(); // Returns Username, initialer, cpr seperated by '.'
	public String 	newPasswordDialog(String currentPassword) throws DALException; // Request a new password from user and returns it.
	public void     	printAllOperators(ArrayList<OperatorDTO> list); // prints all operators
	public void     	weightResult(double result) throws DALException; //prints the result received from weight 
	public void		printError(String erroMessage); // printer en fejl meddelelse
	public void		printInfo(String infoMessage); // prints a text to the interface
	public String	changeOperatorData(); // returns new data for the operator devided by '&'
	public int		deleteOperator();	// Choose operator to delete
}